package me.atbar.moonlib.command.commandmap;

import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandMap;
import org.bukkit.craftbukkit.v1_9_R1.CraftServer;

public class Craft_v_1_9 implements CraftServerInterface{
    @Override
    public void registerCommand(Command command) {
        CommandMap map = ((CraftServer) Bukkit.getServer()).getCommandMap();
        map.register(command.getLabel(), command);
    }
}
